Optimal. Leaf size=110 \[ \frac {b x \sqrt {d-c^2 d x^2}}{3 c \sqrt {1-c^2 x^2}}-\frac {b c x^3 \sqrt {d-c^2 d x^2}}{9 \sqrt {1-c^2 x^2}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {ArcSin}(c x))}{3 c^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 110, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.040, Rules used = {4767}
\begin {gather*} -\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {ArcSin}(c x))}{3 c^2 d}+\frac {b x \sqrt {d-c^2 d x^2}}{3 c \sqrt {1-c^2 x^2}}-\frac {b c x^3 \sqrt {d-c^2 d x^2}}{9 \sqrt {1-c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 4767
Rubi steps
\begin {align*} \int x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right ) \, dx &=-\frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )}{3 c^2 d}+\frac {\left (b \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right ) \, dx}{3 c \sqrt {1-c^2 x^2}}\\ &=\frac {b x \sqrt {d-c^2 d x^2}}{3 c \sqrt {1-c^2 x^2}}-\frac {b c x^3 \sqrt {d-c^2 d x^2}}{9 \sqrt {1-c^2 x^2}}-\frac {\left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )}{3 c^2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 70, normalized size = 0.64 \begin {gather*} \frac {\sqrt {d-c^2 d x^2} \left (\frac {b c \left (x-\frac {c^2 x^3}{3}\right )}{\sqrt {1-c^2 x^2}}+\left (-1+c^2 x^2\right ) (a+b \text {ArcSin}(c x))\right )}{3 c^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.13, size = 343, normalized size = 3.12
method | result | size |
default | \(-\frac {a \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}}{3 c^{2} d}+b \left (\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}-4 i \sqrt {-c^{2} x^{2}+1}\, x^{3} c^{3}+3 i \sqrt {-c^{2} x^{2}+1}\, x c +1\right ) \left (i+3 \arcsin \left (c x \right )\right )}{72 c^{2} \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (c^{2} x^{2}-i \sqrt {-c^{2} x^{2}+1}\, x c -1\right ) \left (\arcsin \left (c x \right )+i\right )}{8 c^{2} \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (i \sqrt {-c^{2} x^{2}+1}\, x c +c^{2} x^{2}-1\right ) \left (\arcsin \left (c x \right )-i\right )}{8 c^{2} \left (c^{2} x^{2}-1\right )}+\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 i \sqrt {-c^{2} x^{2}+1}\, x^{3} c^{3}+4 c^{4} x^{4}-3 i \sqrt {-c^{2} x^{2}+1}\, x c -5 c^{2} x^{2}+1\right ) \left (-i+3 \arcsin \left (c x \right )\right )}{72 c^{2} \left (c^{2} x^{2}-1\right )}\right )\) | \(343\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 75, normalized size = 0.68 \begin {gather*} -\frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} b \arcsin \left (c x\right )}{3 \, c^{2} d} - \frac {{\left (c^{2} d^{\frac {3}{2}} x^{3} - 3 \, d^{\frac {3}{2}} x\right )} b}{9 \, c d} - \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} a}{3 \, c^{2} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.83, size = 116, normalized size = 1.05 \begin {gather*} \frac {{\left (b c^{3} x^{3} - 3 \, b c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {-c^{2} x^{2} + 1} + 3 \, {\left (a c^{4} x^{4} - 2 \, a c^{2} x^{2} + {\left (b c^{4} x^{4} - 2 \, b c^{2} x^{2} + b\right )} \arcsin \left (c x\right ) + a\right )} \sqrt {-c^{2} d x^{2} + d}}{9 \, {\left (c^{4} x^{2} - c^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname {asin}{\left (c x \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x\,\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )\,\sqrt {d-c^2\,d\,x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________